﻿<Window x:Class="Gao.Poker.App.Members.RechargeWin"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
        Title="会员充值"  WindowStartupLocation="CenterScreen" ResizeMode="NoResize" Width="300" Height="250" FontSize="14">
    <Grid Margin="10">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="4*"/>
            <ColumnDefinition Width="6*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        
        <TextBlock Grid.Column="0" Grid.Row="0" Text="会员姓名：" VerticalAlignment="Center" HorizontalAlignment="Right" FontSize="14" />
        <TextBlock Grid.Column="1" Grid.Row="0" Text="{Binding Path=Name}" VerticalAlignment="Center" Margin="5,0,0,0" HorizontalAlignment="Left"/>

        <TextBlock Grid.Column="0" Grid.Row="1" Text="会员卡号：" VerticalAlignment="Center" HorizontalAlignment="Right" FontSize="14" />
        <TextBlock Grid.Column="1" Grid.Row="1" Text="{Binding Path=CardNo}" VerticalAlignment="Center" Margin="5,0,0,0" HorizontalAlignment="Left"/>

        <TextBlock Grid.Column="0" Grid.Row="2" Text="充值金额：" VerticalAlignment="Center" HorizontalAlignment="Right" FontSize="14" />
        <xctk:IntegerUpDown Grid.Column="1" Grid.Row="2" Name="udRechargeMoney" Value="100" VerticalAlignment="Center" Margin="5,0,0,0" FontSize="15" />

        <TextBlock Grid.Column="0" Grid.Row="3" Text="赠送积分：" VerticalAlignment="Center" HorizontalAlignment="Right" FontSize="14" />
        <xctk:IntegerUpDown Grid.Column="1" Grid.Row="3" Name="udPoints" Value="0" VerticalAlignment="Center" Margin="5,0,0,0" FontSize="15" />

        <StackPanel Orientation="Horizontal"  Grid.Row="5" Grid.ColumnSpan="2" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Center">
            <Button Padding="5" Style="{DynamicResource Orrange}" Width="60" FontSize="16" Height="35" Name="btnLogin" 
                    Click="Confirm_Click">确定</Button>
        </StackPanel>
    </Grid>
</Window>
